package co.edu.udea.ingweb.model;
// Generated 24-nov-2014 7:33:26 by Hibernate Tools 4.3.1



/**
 * Clase que corresponde a los usuarios del sistema
 * @author  oscar gallon
 * @author felipe correa
 */
public class User  implements java.io.Serializable {


     private UserId id;
     private String username;
     private String password;
     private String name;
     private String lastname;
     private String email;
     private Integer phone;

    public User() {
    }

	
    public User(UserId id, String username, String password, String name, String lastname, String email) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.name = name;
        this.lastname = lastname;
        this.email = email;
    }
    public User(UserId id, String username, String password, String name, String lastname, String email, Integer phone) {
       this.id = id;
       this.username = username;
       this.password = password;
       this.name = name;
       this.lastname = lastname;
       this.email = email;
       this.phone = phone;
    }
   
    public UserId getId() {
        return this.id;
    }
    
    public void setId(UserId id) {
        this.id = id;
    }
    public String getUsername() {
        return this.username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }
    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }
    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    public String getLastname() {
        return this.lastname;
    }
    
    public void setLastname(String lastname) {
        this.lastname = lastname;
    }
    public String getEmail() {
        return this.email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }
    public Integer getPhone() {
        return this.phone;
    }
    
    public void setPhone(Integer phone) {
        this.phone = phone;
    }




}


